#ifndef _DRAW_RECTANGLE_H_
#define _DRAW_RECTANGLE_H_
struct rectangle {
	int x1;
	int x2;
	int y1;
	int y2;
	int line_thickness;
	int line_color;	// RGB
	int bg_color;	// RGB
	int x_res;
	int y_res;
	int yuv_format; // 444, 422, 411, 420;
	char file[256];	// File path to draw
	char *buffer;	// buffer to return handle
};

extern int draw_rectangle_to_console (struct rectangle *rec);
extern int draw_rectangle_raw_rgb_image_file (struct rectangle *rec);
extern int draw_rectangle_raw_yuv_image_file(struct rectangle *rec);
extern int draw_rectangle_jpg_image_file (struct rectangle *rec);
extern int draw_rectangle_bmp_image_file(struct rectangle *rec);
extern int draw_rectangle_rgb_buffer (struct rectangle *rec);

#endif /* _DRAW_RECTANGLE_H_ */
